package com.zzjson.design.decorator.passport.upgrade;

import com.zzjson.design.adapter.loginadapter.ResultMsg;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : cn.zzjson.design.decorator.passport.upgrade</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年04月02日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
public class SiginForThirdService implements ISiginForThirdService {
    private ISignService iSignService;

    public SiginForThirdService(ISignService iSignService) {
        this.iSignService = iSignService;
    }

    @Override
    public ResultMsg loginForQQ(String id) {
        return null;
    }

    @Override
    public ResultMsg loginForWechat(String id) {
        return null;
    }

    @Override
    public ResultMsg regist(String username, String password) {
        return iSignService.regist(username, password);
    }

    @Override
    public ResultMsg login(String username, String password) {
        return iSignService.login(username, password);
    }
}